# -*- coding:utf-8 -*- 
__date__ = '2022/5/24 4:42 下午'

ls = [12, 34, 54, 54, 6, 67]


def twoSum(nums, target):
  for item in  nums:
    temp = target - item
    if temp in nums:
      return [item, temp]

if __name__ == '__main__':
  res = twoSum(ls, 60)
  print(res)
